package com.chinatelecom.telecollege.sellerrewarding.repository;

import com.chinatelecom.telecollege.sellerrewarding.Entity.seller;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface sellerRepo extends PagingAndSortingRepository<seller, Integer> {
    seller findByPhone(String phone);
    List<seller> findAll();
    void deleteByphone(String phone);
}
